package com.pqc.tbk.entity.money;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 用户收入支出金额明细
 * 
 * @author Ping_QC created on 2012-7-1 下午3:24:18
 * 
 */
@Entity
@Table(name = "money_inout")
public class MoneyInout {
	private Long id;
	private Long uid;// who
	private String type;// 收入还是支出
	private Double money;// 操作金额
	private Date update_time;

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	public Long getId() {
		return id;
	}

	public void setId(final Long id) {
		this.id = id;
	}

	public Long getUid() {
		return uid;
	}

	public void setUid(final Long uid) {
		this.uid = uid;
	}

	public String getType() {
		return type;
	}

	public void setType(final String type) {
		this.type = type;
	}

	public Double getMoney() {
		return money;
	}

	public void setMoney(final Double money) {
		this.money = money;
	}

	public Date getUpdate_time() {
		return update_time;
	}

	public void setUpdate_time(final Date update_time) {
		this.update_time = update_time;
	}

}
